package com.example.demo.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.example.demo.model.Teas;

@Mapper
public interface TeasMapper {

	List<Map<String, Object>> findAll();

	boolean delete(@Param("id")int id);

	void add(Teas emp);

	boolean update(Teas tea);

	Teas finById(Integer eid);

}
